

/**

 * Alipay.com Inc.

 * Copyright (c) 2004-2014 All Rights Reserved.

 */

package com.alipay.constants;


/**
 * 支付宝服务窗环境常量（demo中常量只是参考，需要修改成自己的常量值）
 *
 * @author taixu.zqq
 * @version $Id: AlipayServiceConstants.java, v 0.1 2014年7月24日 下午4:33:49 taixu.zqq Exp $
 */
public class AlipayServiceEnvConstants {

    /**支付宝公钥-从支付宝服务窗获取*/
    public static final String ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";

    /**签名编码-视支付宝服务窗要求*/
    public static final String SIGN_CHARSET      = "GBK";

    /**字符编码-传递给支付宝的数据编码*/
    public static final String CHARSET           = "GBK";

    /**签名类型-视支付宝服务窗要求*/
    public static final String SIGN_TYPE         = "RSA";


    public static final String PARTNER           = "";

    /** 服务窗appId  */
    //TODO !!!! 注：该appId必须设为开发者自己的服务窗id  这里只是个测试id
    public static final String APP_ID            = "2016062801561812";

    //开发者请使用openssl生成的密钥替换此处  请看文档：https://fuwu.alipay.com/platform/doc.htm#2-1接入指南
    //TODO !!!! 注：该私钥为测试账号私钥  开发者必须设置自己的私钥 , 否则会存在安全隐患
    public static final String PRIVATE_KEY       = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBANs7/lrPfxjiWKxJ5Vubaz6bDbmlRlLejE7Cv1g/LRnsuq+0ptYif/3av35MeapiyrIbRt8grGygPDfehProrD+nkKrYZTOOdLTKwtEIsSVhrNocezpWzbpNejMlLusb1XPAj/Fr10cBGliwQ1eY1FIoH6FvOgvQWiG9fekmGLOlAgMBAAECgYEAkKt7QpOwjEw5NaAh4RyjXZHWMc6VpHPFZOfwepxd98CWxQHSInZrvanPOdnfY4eDuJp1XyJhheELO9b0K9rEZphFsI6nro2HpeIZVJhIByjLD3az4+jSRIJNwrhdjuvDGisHnS1SYjeMqARyeQ81USOjGwY0nVDgB+TRGLKYxrUCQQDxUlKTZ5mddl9RcIzQrgMxQAjR5tsf4VKEy9yVJwCUzRNrJa8QkyAZ6ihkKYdjuczJMuJK3m8deTyF1DCm0Y2LAkEA6JG+1ZotKeV1L6PnZ0+odkABaYfNHg+BiUUW6+ZSQ7pgKsjDN9o/yft0W+EYgQZSVtTXAGq4sexkc6auUspJjwJAGEXviGQjT3NYoxhvEY5vQ8TtHi/aWpqPckwPI/GIXW9DRMPFmCU0VWb4KRsEQ0OtFY/Isz8sbgqDy/JL8nuhgQJATCW8SA/tDbS1g920nJz2WZFnZPgz7s3A6gMXGDIXaVmSty94y8bH8AhG9vZioYxCVW/m3ZoT0x3FXiCLH0xgfQJAVRxTS0RVcpjFJEE0PERDyUCVMAEzEwITyxrmt26SOrstb0vP6um7hRowmGLFtP8OwkmrPPbJ5sllJtLYp9s6nw==";
    //TODO !!!! 注：该公钥为测试账号公钥  开发者必须设置自己的公钥 ,否则会存在安全隐患
    public static final String PUBLIC_KEY        = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbO/5az38Y4lisSeVbm2s+mw25pUZS3oxOwr9YPy0Z7LqvtKbWIn/92r9+THmqYsqyG0bfIKxsoDw33oT66Kw/p5Cq2GUzjnS0ysLRCLElYazaHHs6Vs26TXozJS7rG9VzwI/xa9dHARpYsENXmNRSKB+hbzoL0FohvX3pJhizpQIDAQAB";

    /**支付宝网关*/
    public static final String ALIPAY_GATEWAY    = "https://openapi.alipay.com/gateway.do";

    /**授权访问令牌的授权类型*/
    public static final String GRANT_TYPE        = "authorization_code";
}